import axios from 'axios'

export const ApplyWorkListService = class ApplyWorkListService {
    static applyWorkListService = null
    requestUrl = 'http://localhost/applyWorkList'

    static getInstance(){
        if(this.applyWorkListService == null){
            this.applyWorkListService = new ApplyWorkListService()
        }
        return this.applyWorkListService
    }
    
    // 用pid查询所有数据
    selectList(params){
        return axios.get(`${this.requestUrl}/${params}`)
    }

    
}